﻿@model Coleotrack.Data.Issue

@{
    ViewBag.Title = "Details";
    Layout = "~/Views/Shared/_TwoColumn.cshtml";
}

@section Head {
    <link href="@Url.Content("~/Content/Issue.css")" rel="stylesheet" type="text/css" />
}

@section SubMenu {
    
}

<h1>@Model.Title</h1>

<div class="issue-detail-group">
    <span class="issue-detail-header">Priority:</span>
    <span class="issue-detail">@Model.Priority.Name</span>
</div>
<div class="issue-detail-group">
    <span class="issue-detail-header">Project:</span>
    <span class="issue-detail">@Model.Project.Name</span>
</div>
<div class="issue-detail-group">
    <span class="issue-detail-header">Assigned to:</span>
    <span class="issue-detail">@Model.AssignedTo.Profile.FullName</span>
</div>
<div class="issue-detail-group">
    <span class="issue-detail-header">Parent:</span>
    <span class="issue-detail">
        @if (Model.Parent == null)
        {
            @:none
        }
        else
        {
            @Html.ActionLink(Model.Parent.Title, "Details", new { id = Model.Parent.Id });
        }
    </span>
</div>
<div class="issue-detail-group">
    <div class="issue-detail-group">
        <span class="issue-detail-header">Description:</span>
        <span class="issue-detail">@Model.Description</span>
    </div>
</div>